package com.hankol.newretail.bean

import android.annotation.SuppressLint
import com.baselibrary.base.BasicBean
import com.baselibrary.bean.MediaInfo
import kotlinx.android.parcel.Parcelize

/**
 *@author:hanke
 *2022/9/14
 *desc:
 */
@SuppressLint("ParcelCreator")
@Parcelize
data class NeedEvaluationBean(
        var needList: ArrayList<EvaluationBean> = arrayListOf(),
        var shopName: String = "",
        var shopId: Int =0,
        var dealerCode:String = ""
): BasicBean()
@SuppressLint("ParcelCreator")
@Parcelize
data class EvaluationBean(
    val commentContent: String,
    val commentResult: Int,
    val commentTime: Long,
    val mediaInfoList: List<MediaInfo>,
    val num: Int,
    val ownerReplyList: List<OwnerReply>,
    val rewardScore: Int,
    val shopId: Int,
    val shopName: String,
    val skuCover: String,
    val skuId: Int,
    val specList: List<String>,
    val spuId: Int,
    val productInfoId:Int,
    val dealerCode:String,
    val spuName: String,
    val user: UserX,
    val cid:Long
): BasicBean()

@SuppressLint("ParcelCreator")
@Parcelize
data class OwnerReply(
    val content: String,
    val replytime: Long,
    val user: User
): BasicBean()
@SuppressLint("ParcelCreator")
@Parcelize
data class UserX(
    val icon: String,
    val id: Int,
    val isFans: Int,
    val name: String
): BasicBean()
@SuppressLint("ParcelCreator")
@Parcelize
data class User(
    val icon: String,
    val id: Int,
    val isFans: Int,
    val name: String
): BasicBean()
@SuppressLint("ParcelCreator")
@Parcelize
data class ReceiveOrderBean(
    val rewardScore: Int=0
): BasicBean()